package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "招投标")
public class BusinessTender implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "发布时间")
    private Date publishDate;
    @ApiModelProperty(value = "所属地区")
    private String areaName;
    @ApiModelProperty(value = "项目分类")
    private String projectType;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "详情")
    private String detail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getProjectType() {
        return projectType;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType == null ? null : projectType.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "BusinessTender{" +
                "id=" + id +
                ", description='" + description + '\'' +
                ", publishDate=" + publishDate +
                ", areaName='" + areaName + '\'' +
                ", projectType='" + projectType + '\'' +
                ", enterId=" + enterId +
                ", detail='" + detail + '\'' +
                '}';
    }
}